package com.burgeon.backend.SHOPBACKEND.service;

import com.burgeon.backend.SHOPBACKEND.entity.Activity;
import com.burgeon.backend.SHOPBACKEND.entity.SevenDaysReturn;
import com.burgeon.backend.SHOPBACKEND.entity.mailActivity.Gabalnara;
import com.burgeon.backend.SHOPBACKEND.service.ex.ErrorDataException;

import java.util.List;

public interface BackendActivityService {

    void sevenDaysReturnSet(String type,String state,String account);

    SevenDaysReturn sevenDaysReturnData(String account);

    Gabalnara getExemptionFromPostage(String account);

    void exemptionFromPostage(String price,String isUse,String account) throws ErrorDataException;

    List<Activity> getData(String account);

    void addData(Activity activity);

    void upData(Activity activity);

    void delData(String id);

    void IsUse();
}
